program         /*prime*/
integer i,j,t,f
begin
	for i:=2 to 100 do
		f:=1;
		for j:=2 to i-1 do
			t:=i%j;
			if t=0 then
				f:=0;
			end
		end
		if f=1 then
			write i;
		end
	end
end.